package com.qqtop10.manager.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qqtop10.manager.dao.SystemInfoMapper;
import com.qqtop10.manager.model.SystemInfo;
import com.qqtop10.manager.service.SystemInfoService;

@Service("systemInfoService")
public class SystemInfoServiceImpl implements SystemInfoService {
	@Autowired
	private SystemInfoMapper systemInfoMapper;

	@Override
	public SystemInfo get(SystemInfo record) {
		return systemInfoMapper.get(record);
	}

	@Override
	public boolean update(SystemInfo record) {
		return systemInfoMapper.update(record) != 0;
	}
}
